<% var pageLevelCSS = { %> 

<%};%> 
<% var pageLevelJS = { %>
<script src="${ctx}/static/js/index-load.js"></script>
<script type="text/javascript">
<!--
var aesKey = "${sessionId}"; 
loadCryptJs();
//-->
</script>
<script src="${ctx}/static/js/common/setPassword.js"></script>
<%};%> 
<% var layoutParas =
{"title":sys_systemName,"pageLevelCSS":pageLevelCSS,"pageLevelJS":pageLevelJS};
layout("/WEB-INF/views/btl/template/backBasicSimplePageTemplate.html", layoutParas){ %>
<div class="findPwdTit">
	<span class="fm title">设置密码</span>
	<span class="r goLogin">已有帐号？<a href="${ctx}/auth/login?${session._para}">登录</a></span>
	<div class="clear"></div>
</div>
<div id="forgot-box" class="widget-box border center">
 <div class="widget-body content-box ">
    <div id="showErrMsg" oper="${data.oper}"  val="${status}" class="hide alert alert-danger alert-dismissible" role="alert" id="errMsgContiner">
		  <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		  <div>${desc}</div>
	</div>
	<div class="widget-main">
		<form id="backPasswordForm" action="${ctx}/auth/password/reset" class="form-horizontal" method="post"   onsubmit="return validate_form(this)">
		<input type="hidden" name="token" value="${data.token}">	 
		<input type="hidden" valid="true" name="password">
		<div class="col-xs-12 "  >
		   <div class="form-group col-md-12">
			<label class="required-before col-sm-3 control-label no-padding-right" for="nationalId">密码：</label>
			<div class="col-sm-9 inline-height">
				  <input type="password" class="validate[required,minSize[6],maxSize[50]] col-xs-10 newPassword1" placeholder="密码" />
		  	</div>
		  </div> 
		  <div class="form-group col-md-12">
			<label class="required-before col-sm-3 control-label no-padding-right" for="nationalId">再输一次：</label>
			<div class="col-sm-9 inline-height">
				  <input type="password" targetname="password" class="validate[required,minSize[6],maxSize[50],equals[.newPassword1]] password newPassword2 col-xs-10" placeholder="再输一次密码" />
		  	</div>
		  </div>
		   <div class="form-group col-md-12">
		     <label class="required-before col-sm-3 control-label no-padding-right" for="birthday">验证码：</label>
		     <div class="col-sm-9 inline-height">
     			<div style="width: 83.33333333%;float: left;">
     			<div style="float: left;width: 60%">
     			<input type="text" name="captcha" style="width: 100%" class="form-item-control pull-left captcha validate[required,maxSize[10]]" placeholder="验证码">
				</div>
				<img title="点击更换验证码" width="40%" height="34px" class="pull-right captcha-img" id="randCodeImage"  src="${ctx}/auth/password/reset/captcha.jpg?w=99&h=31&${_para}" 
				onclick="this.src = '${ctx}/auth/password/reset/captcha.jpg?w=99&h=31&v=' + Math.random()+'&${_para}'" 
				 />
		 	 </div>
		 	  </div>
		  </div> 
		  </div>
			<div class="col-xs-12 clearfix center">
				<div class="mt30">
				<button type="submit" dealing-title="请求中" id="next" class="width-120 btn btn-sm btn-primary">
					<i class="ace-icon fa fa-lightbulb-o"></i>
					<span class="bigger-110">下一步</span>
				</button>
			</div>
			</div>
			</form>
		</div><!-- /.widget-main -->
	</div><!-- /.widget-body -->
	<div id="success" class="widget-body content-box " style="display: none;">
	</div>
</div><!-- /.forgot-box -->
<%} %>
